package com.xinli.business.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinli.business.domain.ConsultantApplication;
import com.xinli.business.domain.FtMember;

/**
 * 咨询师入驻申请Service接口
 *
 * @author ruoyi
 * @date 2025-04-28
 */
public interface IConsultantApplicationService  extends IService<ConsultantApplication>
{
    /**
     * 查询咨询师入驻申请
     *
     * @param id 咨询师入驻申请主键
     * @return 咨询师入驻申请
     */
    public ConsultantApplication selectConsultantApplicationById(Long id);

    /**
     * 查询咨询师入驻申请列表
     *
     * @param consultantApplication 咨询师入驻申请
     * @return 咨询师入驻申请集合
     */
    public List<ConsultantApplication> selectConsultantApplicationList(ConsultantApplication consultantApplication);

    /**
     * 新增咨询师入驻申请
     *
     * @param consultantApplication 咨询师入驻申请
     * @return 结果
     */
    public int insertConsultantApplication(ConsultantApplication consultantApplication);

    /**
     * 修改咨询师入驻申请
     *
     * @param consultantApplication 咨询师入驻申请
     * @return 结果
     */
    public int updateConsultantApplication(ConsultantApplication consultantApplication);

    /**
     * 批量删除咨询师入驻申请
     *
     * @param ids 需要删除的咨询师入驻申请主键集合
     * @return 结果
     */
    public int deleteConsultantApplicationByIds(Long[] ids);

    /**
     * 删除咨询师入驻申请信息
     *
     * @param id 咨询师入驻申请主键
     * @return 结果
     */
    public int deleteConsultantApplicationById(Long id);


    public  int  getYearsOfExperience(Long memberId);


    public void setConsultantTime(FtMember member);

    public void updateMeneberInfo(ConsultantApplication  vo,  FtMember member);
}
